package org.example.feign;

import org.example.util.JsonResult;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * @Auther:Liu
 * @Testname:StudentFeign
 * @Date:2025/9/9 14:44
 */
@FeignClient(name = "cloud-example-max-course",path = "/course")
public interface StudentFeign {
    @GetMapping("/find_id/{no}")
    JsonResult findCourseById(@PathVariable("no") String no);
}
